package com.gpnu7_412.yanzhi.exception.custom;

/**
 * 操作权限不足异常
 * @author ZZH
 */
public class PermissionDeniedException extends RuntimeException {
    private String message;

    public PermissionDeniedException() {
        super();
    }

    public PermissionDeniedException(String message) {
        super(message);
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }
}